
var totalPrice =getQuery("totalPrice")



function  submitOrder(){
    axios.get("/custom/order/addOrder",{
        params:{
            accept:$("accept").value,
            address:$("address").value,
            phone:$("phone").value,
            price:totalPrice
        }

    }).then(e =>{
        if (e.data=="ok"){
            location.href="/index.html"
        }
    } )
}